﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using GameSchool.Models;

namespace GameSchool.Controllers
{
    public class CommentController : Controller
    {
        Comment c = new Comment();
        //
        // GET: /Comment/
        #region Views

        //For teachers and students
        [HttpPost]
        public ActionResult InsertComment(FormCollection formData)
        {
         
            return View();
        }

        //For teachers
        public ActionResult ApproveComment(FormCollection formData)
        {
            c.approved = Convert.ToBoolean(formData[""]);   
            return View();
        }

        //For students
        public ActionResult LikeComment()
        {
            return View();
        }

        #endregion

        public Notification GetNotifications(Notification theNotification)
        {
            return theNotification;
        }
    }
}
